import com.wyl.dao.RoleMapper
import com.wyl.utils.getSqlSession
import org.junit.Test

class RoleMapperTest {
    @Test
    fun testGetRoleList() {
        getSqlSession().use {
            it.getMapper(RoleMapper::class.java)
                .getRoleList()
                .forEach(::println)
        }
    }
}